[INFO] cloning repository https://github.com/tvallotton/sqlc-python-asyncpg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tvallotton/sqlc-python-asyncpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Fsqlc-python-asyncpg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Fsqlc-python-asyncpg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fe72d0d51204c4c7d38873b61612743470e5d79a
[INFO] checking tvallotton/sqlc-python-asyncpg against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Fsqlc-python-asyncpg" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tvallotton/sqlc-python-asyncpg
[INFO] finished tweaking git repo https://github.com/tvallotton/sqlc-python-asyncpg
[INFO] tweaked toml for git repo https://github.com/tvallotton/sqlc-python-asyncpg written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tvallotton/sqlc-python-asyncpg on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tvallotton/sqlc-python-asyncpg already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e94aa10e5c56720a827222d520616744873dcdf576f98478e2da954cc1fa24c3
[INFO] running `Command { std: "docker" "start" "-a" "e94aa10e5c56720a827222d520616744873dcdf576f98478e2da954cc1fa24c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e94aa10e5c56720a827222d520616744873dcdf576f98478e2da954cc1fa24c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e94aa10e5c56720a827222d520616744873dcdf576f98478e2da954cc1fa24c3", kill_on_drop: false }`
[INFO] [stdout] e94aa10e5c56720a827222d520616744873dcdf576f98478e2da954cc1fa24c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0487c1eac5775ba147ca3f8ce2474a6b795dfa7b922f91a5f6a45601efc0a2cc
[INFO] running `Command { std: "docker" "start" "-a" "0487c1eac5775ba147ca3f8ce2474a6b795dfa7b922f91a5f6a45601efc0a2cc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.68
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking prost v0.9.0
[INFO] [stderr]     Checking minijinja v2.10.2
[INFO] [stderr]     Checking sqlc-python-asyncpg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModelFile`
[INFO] [stdout]   --> src/model_file_generator.rs:50:22
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut public = ModelFile::default();
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `ModelFile`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut public = ModelFiles::default();
[INFO] [stdout]    |                               +
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::model_file::ModelFile;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mock`
[INFO] [stdout]  --> src/python_type.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::mock;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `grouped_argument_type` in initializer of `Method`
[INFO] [stdout]    --> src/method.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let method = Method {
[INFO] [stdout]     |                  ^^^^^^ missing `grouped_argument_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/method_builder.rs:154:42
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut builder = MethodFactory::new(&mut files, &options);
[INFO] [stdout]     |                       ------------------ ^^^^^^^^^^ expected `&mut ModelFiles`, found `&mut BTreeMap<String, ModelFile>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut ModelFiles`
[INFO] [stdout]                found mutable reference `&mut BTreeMap<std::string::String, ModelFile>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/method_builder.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout] 17  |     pub fn new(model_files: &'a mut ModelFiles, options: &'a Options) -> Self {
[INFO] [stdout]     |            ^^^ -------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/method_builder.rs:167:38
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let builder = MethodFactory::new(&mut files, &options);
[INFO] [stdout]     |                   ------------------ ^^^^^^^^^^ expected `&mut ModelFiles`, found `&mut BTreeMap<String, ModelFile>`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut ModelFiles`
[INFO] [stdout]                found mutable reference `&mut BTreeMap<std::string::String, ModelFile>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/method_builder.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout] 17  |     pub fn new(model_files: &'a mut ModelFiles, options: &'a Options) -> Self {
[INFO] [stdout]     |            ^^^ -------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `is_schema_file` in initializer of `ModelFile`
[INFO] [stdout]    --> src/mock.rs:415:9
[INFO] [stdout]     |
[INFO] [stdout] 415 |         ModelFile {
[INFO] [stdout]     |         ^^^^^^^^^ missing `is_schema_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `ModelFiles` in the current scope
[INFO] [stdout]   --> src/model_file_generator.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     generator.model_files.insert("public".into(), public);
[INFO] [stdout]    |                           ^^^^^^ method not found in `ModelFiles`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/model_files.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct ModelFiles {
[INFO] [stdout]    | --------------------- method `insert` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 52 |     generator.model_files.model_files.insert("public".into(), public);
[INFO] [stdout]    |                           ++++++++++++
[INFO] [stdout] 52 |     generator.model_files.options.package.insert("public".into(), public);
[INFO] [stdout]    |                           ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method_output`
[INFO] [stdout]    --> src/method.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let method_output = MethodOutput::from_model(&user_model());
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_output`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlc-python-asyncpg` (bin "sqlc-python-asyncpg" test) due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0487c1eac5775ba147ca3f8ce2474a6b795dfa7b922f91a5f6a45601efc0a2cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0487c1eac5775ba147ca3f8ce2474a6b795dfa7b922f91a5f6a45601efc0a2cc", kill_on_drop: false }`
[INFO] [stdout] 0487c1eac5775ba147ca3f8ce2474a6b795dfa7b922f91a5f6a45601efc0a2cc
